package com.jjb.www.http.api;

import com.hjq.http.config.IRequestApi;

/**
 * @author CRG
 * @date :2023/12/25 10:55
 * @description:
 */
public class RefreshTokenApi implements IRequestApi {
    private String user_id;

    public RefreshTokenApi setUser_id(String user_id) {
        this.user_id = user_id;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/user/v2/common/refreshToken";
    }
    public static class Bean{

        private String token;
        private UserDTO user;

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public UserDTO getUser() {
            return user;
        }

        public void setUser(UserDTO user) {
            this.user = user;
        }

        public static class UserDTO {
            private Integer id;
            private String mobile;
            private String nickname;
            private Integer avatar_id;
            private String openid;
            private String unionid;
            private Integer reg_time;
            private Integer sex;
            private Integer is_auth;
            private Integer sentry_id;
            private String sentry_ids;
            private Boolean message_count;
            private String only_str;
            private Object auth_text;
            private String user_auth;
            private String phone_type;
            private String version;
            private Integer last_login;
            private Boolean feedback_count;
            private Integer region_id;
            private Integer platform;
            private String system_info;
            private String img;
            private String real_name;
            private String id_card;
            private Integer scene_img;
            private Integer id_card_img;
            private Integer photo;
            private String work_unit;
            private Integer education;
            private String scene_img_url;
            private String id_card_img_url;
            private String photo_url;
            private Integer is_member;
            private Integer member_end_time;
            private String sentry_name;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public Integer getAvatar_id() {
                return avatar_id;
            }

            public void setAvatar_id(Integer avatar_id) {
                this.avatar_id = avatar_id;
            }

            public String getOpenid() {
                return openid;
            }

            public void setOpenid(String openid) {
                this.openid = openid;
            }

            public String getUnionid() {
                return unionid;
            }

            public void setUnionid(String unionid) {
                this.unionid = unionid;
            }

            public Integer getReg_time() {
                return reg_time;
            }

            public void setReg_time(Integer reg_time) {
                this.reg_time = reg_time;
            }

            public Integer getSex() {
                return sex;
            }

            public void setSex(Integer sex) {
                this.sex = sex;
            }

            public Integer getIs_auth() {
                return is_auth;
            }

            public void setIs_auth(Integer is_auth) {
                this.is_auth = is_auth;
            }

            public Integer getSentry_id() {
                return sentry_id;
            }

            public void setSentry_id(Integer sentry_id) {
                this.sentry_id = sentry_id;
            }

            public String getSentry_ids() {
                return sentry_ids;
            }

            public void setSentry_ids(String sentry_ids) {
                this.sentry_ids = sentry_ids;
            }

            public Boolean getMessage_count() {
                return message_count;
            }

            public void setMessage_count(Boolean message_count) {
                this.message_count = message_count;
            }

            public String getOnly_str() {
                return only_str;
            }

            public void setOnly_str(String only_str) {
                this.only_str = only_str;
            }

            public Object getAuth_text() {
                return auth_text;
            }

            public void setAuth_text(Object auth_text) {
                this.auth_text = auth_text;
            }

            public String getUser_auth() {
                return user_auth;
            }

            public void setUser_auth(String user_auth) {
                this.user_auth = user_auth;
            }

            public String getPhone_type() {
                return phone_type;
            }

            public void setPhone_type(String phone_type) {
                this.phone_type = phone_type;
            }

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }

            public Integer getLast_login() {
                return last_login;
            }

            public void setLast_login(Integer last_login) {
                this.last_login = last_login;
            }

            public Boolean getFeedback_count() {
                return feedback_count;
            }

            public void setFeedback_count(Boolean feedback_count) {
                this.feedback_count = feedback_count;
            }

            public Integer getRegion_id() {
                return region_id;
            }

            public void setRegion_id(Integer region_id) {
                this.region_id = region_id;
            }

            public Integer getPlatform() {
                return platform;
            }

            public void setPlatform(Integer platform) {
                this.platform = platform;
            }

            public String getSystem_info() {
                return system_info;
            }

            public void setSystem_info(String system_info) {
                this.system_info = system_info;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getReal_name() {
                return real_name;
            }

            public void setReal_name(String real_name) {
                this.real_name = real_name;
            }

            public String getId_card() {
                return id_card;
            }

            public void setId_card(String id_card) {
                this.id_card = id_card;
            }

            public Integer getScene_img() {
                return scene_img;
            }

            public void setScene_img(Integer scene_img) {
                this.scene_img = scene_img;
            }

            public Integer getId_card_img() {
                return id_card_img;
            }

            public void setId_card_img(Integer id_card_img) {
                this.id_card_img = id_card_img;
            }

            public Integer getPhoto() {
                return photo;
            }

            public void setPhoto(Integer photo) {
                this.photo = photo;
            }

            public String getWork_unit() {
                return work_unit;
            }

            public void setWork_unit(String work_unit) {
                this.work_unit = work_unit;
            }

            public Integer getEducation() {
                return education;
            }

            public void setEducation(Integer education) {
                this.education = education;
            }

            public String getScene_img_url() {
                return scene_img_url;
            }

            public void setScene_img_url(String scene_img_url) {
                this.scene_img_url = scene_img_url;
            }

            public String getId_card_img_url() {
                return id_card_img_url;
            }

            public void setId_card_img_url(String id_card_img_url) {
                this.id_card_img_url = id_card_img_url;
            }

            public String getPhoto_url() {
                return photo_url;
            }

            public void setPhoto_url(String photo_url) {
                this.photo_url = photo_url;
            }

            public Integer getIs_member() {
                return is_member;
            }

            public void setIs_member(Integer is_member) {
                this.is_member = is_member;
            }

            public Integer getMember_end_time() {
                return member_end_time;
            }

            public void setMember_end_time(Integer member_end_time) {
                this.member_end_time = member_end_time;
            }

            public String getSentry_name() {
                return sentry_name;
            }

            public void setSentry_name(String sentry_name) {
                this.sentry_name = sentry_name;
            }
        }
    }
}
